package com.springboot.demo.common.utils;

/**
 * @ClassName:Constants.java
 * @Package com.Utils
 * @Description:用一句话描述该文件做什么
 * @Author JuoChiu
 * @Date  2017年11月16日下午3:36:39
 * @Version
 */
@SuppressWarnings("all")
public class Constants {
	// ------------------百度地图-----------------------------
	public static final String BAIDU_PLACE_API_KEY = "QgBnRTz3mMSP3ugHmIGlbKiSZXdBHSLe";
	
	public static final String BAIDU_PLACE_API_URL = "http://api.map.baidu.com/place/v2/search?query=%1s&radius=3000&output=json&ak="+BAIDU_PLACE_API_KEY+"&location=%2s,%3s";
	//public static final String BAIDU_PLACE_API_URL = "http://api.map.baidu.com/place/v2/search?query=*&tag=%1s&radius=3000&output=json&ak="+BAIDU_PLACE_API_KEY+"&location=%2s,%3s";
	// ------------------百度地图end-----------------------------
	
	
	//-------------------聚合证件识别-----------------------------
	public static final String JUHE_API_KEY = "c50eebd2ce57cab8a71b2e18d279ea9e";
	
	public static final String JUHE_API_URL = "http://v.juhe.cn/certificates/typeList.php?key="+JUHE_API_KEY;
	
	public static final String JUHE_API_IMAGE_URL = "http://v.juhe.cn/certificates/query.php";
	//-------------------聚合证件识别end-----------------------------
	
	
	//-------------------七牛-----------------------------
	public final static String QINIU_ACCESS_KEY = "mi4hKuzHYD4H-QOFfFOhmmvNRj-HxNrl11_MEzvX";
	
	public final static String QINIU_SECRET_KEY = "R5IRhl3nehPeaB9l_1e7G-sLiHxpoftUNWaDMPc6";
	
	// 私有空间
	final static public String privateBucketname = "chehubao-private";
	// 私有空间域名
	final static public String domainOfBucket = "http://ovkuakiqe.bkt.clouddn.com";
	
	// 默认头像
	final static public String HEAD_IMAGE = "http://ovkuakiqe.bkt.clouddn.com/head_defaut%2F20170907094328_30c65227544d4028ba90a51ffa747f8a.png?e=1504752208&token=mi4hKuzHYD4H-QOFfFOhmmvNRj-HxNrl11_MEzvX:Y69tPbq0R64GOw3cUI2IqmYA0-Y=";
	
	//-------------------七牛end-----------------------------
	
	
	//-------------------二维码-------------------------------
	final static public String QRCODE_CHARSET = "UTF-8";
	// 生成二维码格式
	final static public String QRCODE_FORMAT_NAME = "JPG";
	// 二维码尺寸
	final static public int QRCODE_SIZE = 430;
	// 二维码LOGO宽度
	final static public int QRCODE_LOGO_WIDTH = 150;
	// 二维码LOGO高度
	final static public int QRCODE_LOGO_HEIGHT = 150;
	// 分享二维码头像与二维码宽度
	final static public int QRCODE_HD_WIDTH = 80;
	// 分享二维码头像与二维码高度
	final static public int QRCODE_HD_HEIGHT = 80;
}
